package com.snowy.hidden.interceptor;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel
public class BaseInfo implements Serializable {
	@ApiModelProperty(value = "时间戳")
	private String time;

	@ApiModelProperty(value = "token")
	private String token;

	@ApiModelProperty(value = "来源端")
	private String appkey;

	@ApiModelProperty(value = "32位以内随机字符串")
	private String nonceStr;

	@ApiModelProperty(value = "签名")
	private String key;
}
